package com.magina.common;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

/**
 * @ClassnName :com.magina.common.aspect.commonApplication
 * @Author： Magina.Hu
 * @Date： 2019/4/18
 * @Description：
 * @Version: V1.0
 * Copyright (c) 2019-2020 .All rights reserved.
 */
@SpringBootApplication
@EnableAutoConfiguration(exclude = {DataSourceAutoConfiguration.class,
        HibernateJpaAutoConfiguration.class}) //注意这里的exclude 必须写到这个注解里面
public class commonApplication {


    public static void main(String[] args)
    {
        SpringApplication.run(commonApplication.class, args);
    }

}

